def angle_to_arc(angle):
    angle %= 360
    return 3.1415926 / 180 * angle


if __name__ == '__main__':
    a = 3600 + 180
    print(angle_to_arc(a))
